/*
 * Camera.h
 *
 *  Created on: 14 févr. 2011
 *      Author: elendir
 */

#ifndef CAMERA_H_
#define CAMERA_H_

#include "Vector3.h"

class Camera {
public:
	Camera(Vector3 position, Vector3 lookAt, Vector3 up);
	virtual ~Camera();

	void RotateUp(bool up);
	void RotateLeft(bool left);
	void strafeX(bool left);
	void strafeZ(bool forward);
	void Update();
private:
	Vector3 position;
	Vector3 lookAt;
	Vector3 up;
	float rotX, rotY;
	float m_strafeZ, m_strafeX;

};

#endif /* CAMERA_H_ */
